5
|
How do I put a picture on the control's background
<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
ScrollBar1.Picture = ScrollBar1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)");
ScrollBar1.VisiblePart(640) = false;
ScrollBar1.BackColor = -2147483644;
}
</SCRIPT>
</BODY>
|
4
|
How can I change the size of control's font
<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
ScrollBar1.Font.Size = 12;
ScrollBar1.ForeColor = 255;
ScrollBar1.Caption(256) = "<img>0</img>thumb";
}
</SCRIPT>
</BODY>
|
3
|
How do I change the control's font
<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
ScrollBar1.Font.Name = "Tahoma";
ScrollBar1.ForeColor = 255;
ScrollBar1.Caption(256) = "<img>0</img>thumb";
}
</SCRIPT>
</BODY>
|
2
|
How can I change the control's foreground color
<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
ScrollBar1.ForeColor = 255;
ScrollBar1.Caption(256) = "<img>0</img>thumb";
}
</SCRIPT>
</BODY>
|
1
|
How can I change the control's background color
<BODY onload="Init()">
<OBJECT CLASSID="clsid:5DE2B956-5AB5-47EE-8225-6AB7F9B4FC18" id="ScrollBar1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
ScrollBar1.BackColor = 65280;
ScrollBar1.VisiblePart(640) = false;
}
</SCRIPT>
</BODY>
|